#ifndef accountmanager_utils_date_month_h
#define accountmanager_utils_date_month_h

#include <utils/utils_decl.h>

#include <utils/core/string.h>

namespace AccountManagerUtils {

class _accountmanager_utils_decl Month {

public:
	static String months_[13];
	static String Months_[13];

public:
	enum Index {
		UndefinedMonth = 0,
		January        = 1,
		February       = 2,
		March          = 3,
		April          = 4,
		May            = 5,
		June           = 6,
		July           = 7,
		August         = 8,
		September      = 9,
		October        = 10,
		November       = 11,
		December       = 12
	};

	static Index month_index( const String& month );
	static const String& month_name( Index month );
	static const String& month_name_uppercase( Index month );
};

typedef Month::Index MonthIndex;

} // namespace AccountManagerUtils

#endif
